//
//  CYBaseViewController+Button.h
//  CYBaseKit
//
//  Created by admin on 2022/10/8.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

#define CY_BASE_KIT_SEL (SEL)action
#define CY_BASE_KIT_ACTION action:CY_BASE_KIT_SEL

@interface UIViewController (Button)
/**
 * 导航栏返回按键  默认
 * @return
 */
- (UIButton *)defaultNavLeftBtn;
/**
 * 导航栏返回按键 默认样式 自定义返回事件
 * @param action
 * @return
 */
- (UIButton *)defaultNavLeftBtnWithAction:CY_BASE_KIT_SEL;

/**
 * 默认的导航栏有按键的壳子
 * @param action
 * @return
 */
- (UIButton *)defaultNavRightBtnBoxWithAction:CY_BASE_KIT_SEL;
@end

NS_ASSUME_NONNULL_END
